/*
 * @Author: firesky
 * @Date: 2020-10-10 10:38:48
 * @LastEditTime: 2021-04-16 15:05:05
 * @LastEditors: firesky
 */
import { jichuData } from '../api/salary'
export const company = {
  data() {
    return {
      fcompany: '', // 公司
      // 公司名称
      gsList: []
    }
  },
  mounted() {
    this.getfcompany()
  },
  methods: {
    async getfcompany() {
      try {
        const res = await jichuData({
          db: this.globalDb.db,
          opername: decodeURIComponent(this.globalDb.fname),
          typeid: 302
        })
        this.gsList = res.Data
        // console.log(res, '  res5555555gongsi')
      } catch (error) {
        console.log(error)
      }
    }
  }
}
